package com.ecjtu.stadiumre_servations.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ecjtu.stadiumre_servations.entity.domain.GroupActivity;
import com.ecjtu.stadiumre_servations.entity.domain.Venue;
import com.ecjtu.stadiumre_servations.entity.dto.GroupActivityDTO;
import com.ecjtu.stadiumre_servations.entity.dto.GroupActivityQueryDTO;
import com.ecjtu.stadiumre_servations.response.Result;

public interface GroupActivityService {
     Result createGroupActivity(String userId,GroupActivityDTO groupActivityDTO);
//     Result createGroupActivity2(String userId,GroupActivityDTO groupActivityDTO);
     Result deleteGroupActivity(String activityId);

     Result listGroupActivitiesByVenueId(Page<GroupActivity> page, String venueId);

     Result updateGroupActivity(GroupActivity groupActivity);
     Result listGroupActivities(Page<GroupActivity> page, GroupActivityQueryDTO query);
     Result getGroupActivityById(String activityId);
     Result getGroupActivityByActivityId(Page<GroupActivity>page,String activityId);
     // 查看用户参与的拼团
     Result getGroupActivityByUserId(String userId);
//    public Result allGroupActivities();



}
